#ifndef HYPERCALLS_H
#define HYPERCALLS_H

extern int vm_create_queue(unsigned id, unsigned irq, unsigned tx, unsigned rx);
extern int vm_release_queue(unsigned id);
extern int vm_running(void);
extern int vm_setup_irqs(unsigned *irqs, unsigned count);

#define VDMA_DONE	0x80000000

struct vdma_descr {
        unsigned addr;
        unsigned size;
        unsigned next;
} __attribute__((aligned(16)));

#endif

